package com.woniuxy.oldmanapi.mapper;

import com.woniuxy.oldmanapi.entity.OlderWeight;
import com.woniuxy.oldmanapi.vo.WeightVo;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
@Repository
public interface OlderWeightMapper extends Mapper<OlderWeight> {
    List<WeightVo> selectWeightByName(String name);

    WeightVo selectOneByName(int id);
}